package com.demo1.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.demo1.entity.Evaluate;
import com.demo1.mapper.EvaluateMapper;
import com.demo1.service.EvaluateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class EvaluateServiceImpl extends ServiceImpl<EvaluateMapper, Evaluate> implements EvaluateService {
    @Autowired
    EvaluateMapper evaluateMapper;
    @Override
    public List<Evaluate> list(Map<String, Object> map) {
        return evaluateMapper.list(map);
    }

    @Override
    public Long getTotal(Map<String, Object> map) {
        return evaluateMapper.getTotal(map);
    }
}
